﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace hse_2013_lines_kv
{
    public partial class MenuForm : Form
    {
        public string filepath;

        public MenuForm()
        {
            InitializeComponent();
            radioButtonEasy.Checked = true;
        }

        private void buttonStart_Click(object sender, EventArgs e)
        {
            if (radioButtonEasy.Checked)
            {
                filepath = "../../Project_Images/1Easy.txt";
            }
            if (radioButtonMid.Checked)
            {
                filepath = "../../Project_Images/2Medium.txt";
            }
            if (radioButtonHard.Checked)
            {
                filepath = "../../Project_Images/3Hard.txt";
            }
                MainForm main = new MainForm(filepath);
                main.Show();
                this.Hide();
        }

        private void buttonExit_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }
    }
}